<?php /* Smarty version 2.6.14, created on 2015-02-10 14:23:38
         compiled from datacity.show.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'datacity.show.html', 28, false),array('modifier', 'string_format', 'datacity.show.html', 53, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> id="adminform" onsubmit="return Validator.Validate(this)" <?php endif; ?>>
<link rel="stylesheet" type="text/css" href="<?php echo @BASEURI; ?>
public/css/ui.datepicker.css"/>
<style type="text/css">
    table div{
        float:left;
        margin:3px auto 6px auto;
        padding:0px;
    }
    #search tr{
        line-height:120%;
        margin:0px;
        padding:0px;
    }

    select{
        height:23px;
    }
</style>
<script language="javascript" src="<?php echo @BASEURI; ?>
public/js/ui.datetimepicker.js"></script>
<table border="0" class="search" cellspacing="0" id="search">
    <tr>
        <td>&nbsp;</td>
        <td>
            <?php echo $this->_tpl_vars['systemLang']['selectGame']; ?>
:
            <select name="s[game_id]" onchange="gameChange(this.value)" id="s_game_id">
                <option value=''><?php echo $this->_tpl_vars['systemLang']['choose']; ?>
</option>
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['games'],'selected' => $this->_tpl_vars['search']['game_id']), $this);?>

            </select>&nbsp;&nbsp;|
            <?php echo $this->_tpl_vars['systemLang']['selectStarTime']; ?>
:
            <input class="text" style="width:120px" type="text" name="s[date]" id="cctime_s" readonly value="<?php echo $this->_tpl_vars['search']['date']; ?>
"/>

            <input type="submit" name="submit" value="<?php echo $this->_tpl_vars['systemLang']['submit']; ?>
" class="button" />
        </td>
    </tr>
</table>
<table width="100%" border="0" class="adminlist" cellspacing="0">

    <thead>
    <tr>
        <th><?php echo $this->_tpl_vars['systemLang']['cityName']; ?>
</th>
        <th><?php echo $this->_tpl_vars['systemLang']['addUser']; ?>
</th>
        <th><?php echo $this->_tpl_vars['systemLang']['addUserRate']; ?>
</th>
        <th><?php echo $this->_tpl_vars['systemLang']['allUser']; ?>
</th>
        <th><?php echo $this->_tpl_vars['systemLang']['allUserRate']; ?>
</th>
    </tr>
    </thead>
    <tbody>
    <?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['info']):
?>
    <tr class="row0">
        <td><?php echo $this->_tpl_vars['info']['city']; ?>
</td>
        <td><?php echo $this->_tpl_vars['info']['addUser']; ?>
</td>
        <td><?php if ($this->_tpl_vars['totle']['allAddUser'] != 0 && $this->_tpl_vars['info']['addUser'] != 0):  echo ((is_array($_tmp=$this->_tpl_vars['info']['addUser']/$this->_tpl_vars['totle']['allAddUser']*100)) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.2f") : smarty_modifier_string_format($_tmp, "%.2f")); ?>
%<?php else: ?>0.00%<?php endif; ?></td>
        <td><?php echo $this->_tpl_vars['info']['userTotle']; ?>
</td>
        <td><?php if ($this->_tpl_vars['totle']['allUserTots'] != 0 && $this->_tpl_vars['info']['userTotle'] != 0):  echo ((is_array($_tmp=$this->_tpl_vars['info']['userTotle']/$this->_tpl_vars['totle']['allUserTots']*100)) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.2f") : smarty_modifier_string_format($_tmp, "%.2f")); ?>
%<?php else: ?>0.00%<?php endif; ?></td>
    </tr>
    <?php endforeach; endif; unset($_from); ?>
    </tbody>
    <tfoot>
    <tr>
        <td><span style="color:#f86300">全部</span></td>
        <td><?php echo $this->_tpl_vars['totle']['allAddUser']; ?>
</td>
        <td></td>
        <td><?php echo $this->_tpl_vars['totle']['allUserTots']; ?>
</td>
        <td></td>
        <!--<td colspan="10" style="text-align:center"><?php echo $this->_tpl_vars['page']; ?>
</td>-->
    </tr>
    </tfoot>
</table>
</form>
<script language="javascript">
    $('#cctime_s').datetimepicker({dateFormat:"yy-mm-dd",timeFormat:"",maxDate:"+1d"});
</script>